package com.softline.documentsmall.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("classification")
public class Classification {

  /**
   * 词条多级分类表（目前是三级，如：大数据基础->数据科学->数据应用）
   */
  @TableId(type = IdType.AUTO)
  private Integer id;
  /**
   * 一级分类，如：大数据基础
   */
  private String firstType;
  /**
   * 二级分类，如：数据科学
   */
  private String secondType;
  /**
   * 三级分类，如：数据应用
   */
  private String thirdType;
  /**
   * 多语言分类，如英文：en，中文：cn
   */
  private String language;


  public Integer getId() {
    return id;
  }

  public void setId(Integer id) {
    this.id = id;
  }


  public String getFirstType() {
    return firstType;
  }

  public void setFirstType(String firstType) {
    this.firstType = firstType;
  }


  public String getSecondType() {
    return secondType;
  }

  public void setSecondType(String secondType) {
    this.secondType = secondType;
  }


  public String getThirdType() {
    return thirdType;
  }

  public void setThirdType(String thirdType) {
    this.thirdType = thirdType;
  }


  public String getLanguage() {
    return language;
  }

  public void setLanguage(String language) {
    this.language = language;
  }

}
